package de.global42.clubapp.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 * @author lutz
 *
 */
@Embeddable
public class Address implements Serializable{	
	/**
	 * Generated Version UID
	 */
	private static final long serialVersionUID = 5253627634736558482L;

	@Column
	protected String street;
	
	@Column
	protected String city;
	
	@Column
	protected String postal;

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getPostal() {
		return postal;
	}

	public void setPostal(String postal) {
		this.postal = postal;
	}
}
